﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sami_SMS_CRM_Business
{
    public class ActionRepository : Repository
    {
        public  IList<crm_action> GetAll()
        {
            return DB.crm_actions.ToList();
        }

        public crm_action GetById(int Id)
        {
            return DB.crm_actions.FirstOrDefault(p => p.action_id == Id);
        }
    }
}
